<?php

error_reporting(E_ALL|E_STRICT); // return all possible errors:
//error_reporting(E_PARSE); // return only parsing errors:
ini_set('display_errors', 1); //disable on production servers!

// set the default timezone:
date_default_timezone_set('Europe/Berlin');

// needed to load all the other classes:
require_once('library.php');

// create the chat instance:
$lc = LEChat::getInstance();

// update all user status:
$lc->usersHousekeeping(true);

// remove expired messages
$lc->messagesHousekeeping(true);
